/*
 * Created on Sep 22, 2003
 * ProjectFilter
 * Local Projects Database
 * (c) 2003 eRomania Gateway Association
 *
 */
package ro.gateway.aida.usr.messaging;

import ro.gateway.aida.db.PersistentObject;



/**
 * @author Mihai Postelnicu
 * (c) 2003 eRomania Gateway Association<p>
 * ProjectFilter
 * permits users to create search filters for project retrieval
 * all the items in a ProjectFilter object are linked using logical AND
 * all the ProjectFilters objects are linked using logical OR
 *  *
 */
public class ProjectFilter extends Filter implements PersistentObject
{
      protected int sector;
      protected String title;
      protected String description;
      protected long fundingOrg;
      protected long contractingOrg;
      protected long donorOrg;
      protected long beneficiaryOrg;
      protected long involvedPerson;
      protected String keywords;
      protected String country_iso3;
      protected int stat;

      public ProjectFilter( long id, long alerterId )
      {
            super( id, alerterId );
      }

      /**
       * @return
       */
      public long getBeneficiaryOrg()
      {
            return beneficiaryOrg;
      }

      /**
       * @return
       */
      public long getContractingOrg()
      {
            return contractingOrg;
      }

      /**
       * @return
       */
      public String getCountry_iso3()
      {
            return country_iso3;
      }

      /**
       * @return
       */
      public String getDescription()
      {
            return description;
      }

      /**
       * @return
       */
      public long getDonorOrg()
      {
            return donorOrg;
      }

      /**
       * @return
       */
      public long getFundingOrg()
      {
            return fundingOrg;
      }

      /**
       * @return
       */
      public long getId()
      {
            return id;
      }

      /**
       * @return
       */
      public long getInvolvedPerson()
      {
            return involvedPerson;
      }

      /**
       * @return
       */
      public String getKeywords()
      {
            return keywords;
      }

      /**
       * @return
       */
      public int getSector()
      {
            return sector;
      }


      /**
       * @return
       */
      public int getStat()
      {
            return stat;
      }

      /**
       * @return
       */
      public String getTitle()
      {
            return title;
      }


      /**
       * @param l
       */
      public void setBeneficiaryOrg( long l )
      {
            beneficiaryOrg = l;
      }

      /**
       * @param l
       */
      public void setContractingOrg( long l )
      {
            contractingOrg = l;
      }

      /**
       * @param string
       */
      public void setCountry_iso3( String string )
      {
            country_iso3 = string;
      }

      /**
       * @param string
       */
      public void setDescription( String string )
      {
            description = string;
      }

      /**
       * @param l
       */
      public void setDonorOrg( long l )
      {
            donorOrg = l;
      }

      /**
       * @param l
       */
      public void setFundingOrg( long l )
      {
            fundingOrg = l;
      }

      /**
       * @param l
       */
      public void setId( long l )
      {
            id = l;
      }

      /**
       * @param l
       */
      public void setInvolvedPerson( long l )
      {
            involvedPerson = l;
      }

      /**
       * @param l
       */
      public void setKeywords( String l )
      {
            keywords = l;
      }

      /**
       * @param i
       */
      public void setSector( int i )
      {
            sector = i;
      }

      /**
       * @param i
       */
      public void setStat( int i )
      {
            stat = i;
      }

      /**
       * @param string
       */
      public void setTitle( String string )
      {
            title = string;
      }

}
